﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NotifierService.Server
{
    public partial class MainForm : Form
    {
        AudioReceiver _audioReceiver;

        public MainForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (_audioReceiver == null)
            {
                _audioReceiver = new AudioReceiver();
                _audioReceiver.Start();
                button1.Enabled = false;
            }
        }
    }
}
